from flask import Flask , render_template , jsonify
from blueprint.weather_submit import bp as wsbp

from blueprint.blog import bp as blog_bp
from blueprint.tools import bp as tools_bp
from blueprint import  bp
from exts import blogDB
app = Flask(__name__)
# 注册路由
app.register_blueprint(bp)




app.register_blueprint(wsbp)
app.register_blueprint(blog_bp)

app.register_blueprint(tools_bp)

if __name__ == '__main__':
    app.run()
